<!doctype html>
<html role="api-designer">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>API Designer</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <!-- build:css({.,.tmp,app}) styles/api-designer-vendor.css -->
    <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css">

    <link rel="stylesheet" href="vendor/styles/codemirror.css">
    <link rel="stylesheet" href="vendor/styles/solarized.css">
    <link rel="stylesheet" href="vendor/styles/show-hint.css">

    <link rel="stylesheet" href="bower_components/angular-ui-tree/dist/angular-ui-tree.min.css">

    <link rel="stylesheet" href="bower_components/api-console/dist/styles/api-console-light-theme.css">
    <!-- endbuild -->

    <!-- build:css({.,.tmp,app}) styles/api-designer.css -->
    <link rel="stylesheet" href="styles/main.css">
    <link rel="stylesheet" href="styles/shelf.css">
    <link rel="stylesheet" href="styles/splitter.css">
    <link rel="stylesheet" href="styles/errors.css">
    <link rel="stylesheet" href="styles/file-browser.css">
    <link rel="stylesheet" href="styles/code-mirror-overrides.css">
    <link rel="stylesheet" href="styles/api-console-overrides.css">
    <link rel="stylesheet" href="styles/modal.css">
    <link rel="stylesheet" href="styles/menubar.css">
    <!-- endbuild -->
  </head>
  <body ng-app="ramlEditorApp">
    <div class="container">
        <raml-editor></raml-editor>
    </div>

    <!-- build:js({.,.tmp,app}) scripts/api-designer-parser.js -->
    <script src=".tmp/js-traverse/js-traverse.js"></script>
    <script src="bower_components/promise-polyfill/promise.min.js"></script>
    <script src="bower_components/raml-1-parser/raml-json-validation.js"></script>
    <script src="bower_components/raml-1-parser/raml-xml-validation.js"></script>
    <script src="bower_components/raml-1-parser/raml-1-parser.js"></script>
    <!-- endbuild -->

    <script>
      (function (w) {
        if (!w.Worker) return;
        var proxy = location.search.indexOf('bypassProxy=true') > -1 ? '' : '/proxy/';
        try {
          w.RAML.worker = new Worker('scripts/api-designer-worker.js#parser=./api-designer-parser.js&proxy=' + proxy);
        } catch (e) {
          console.error('Failed to create worker, defaulting to main thread', e);
        }
      })(window);
    </script>

    <!-- build:js({.,.tmp,app}) scripts/api-designer-vendor.js -->
    <!--
      jQuery has to go before AngularJS otherwise we'll end up with jqLite,
      which isn't enough for API Console to work properly
    -->
    <script src="bower_components/jquery/dist/jquery.js"></script>
    <script src="bower_components/velocity/velocity.js"></script>

    <script src="bower_components/angular/angular.js"></script>
    <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
    <script src="bower_components/angular-ui-tree/dist/angular-ui-tree.js"></script>
    <script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
    <script src="bower_components/es5-shim/es5-shim.js"></script>

    <script src="bower_components/resolve-url/resolve-url.js"></script>
    <script src="bower_components/jszip/jszip.js"></script>
    <script src="bower_components/jszip/jszip-load.js"></script>
    <script src="bower_components/jszip/jszip-deflate.js"></script>
    <script src="bower_components/jszip/jszip-inflate.js"></script>

    <script src="bower_components/marked/lib/marked.js"></script>
    <script src="bower_components/highlightjs/highlight.pack.js"></script>
    <script src="bower_components/vkbeautify/vkbeautify.js"></script>
    <script src="bower_components/crypto-js/rollups/hmac-sha1.js"></script>
    <script src="bower_components/crypto-js/components/enc-base64.js"></script>
    <script src="bower_components/codemirror/lib/codemirror.js"></script>
    <script src="bower_components/codemirror/mode/javascript/javascript.js"></script>
    <script src="bower_components/codemirror/mode/xml/xml.js"></script>
    <script src="bower_components/codemirror/mode/yaml/yaml.js"></script>
    <script src="bower_components/codemirror/addon/dialog/dialog.js"></script>
    <script src="bower_components/codemirror/addon/search/search.js"></script>
    <script src="bower_components/codemirror/addon/search/searchcursor.js"></script>
    <script src="bower_components/codemirror/addon/lint/lint.js"></script>
    <script src="bower_components/angular-ui-codemirror/ui-codemirror.js"></script>
    <script src="bower_components/angular-marked/angular-marked.js"></script>
    <script src="bower_components/angular-highlightjs/angular-highlightjs.js"></script>
    <script src="bower_components/slug/slug.js"></script>
    <script src="bower_components/FileSaver/FileSaver.js"></script>
    <script src="bower_components/raml-client-generator/dist/raml-client-generator.js"></script>
    <script src="bower_components/api-console/dist/scripts/api-console.js"></script>
    <script src="bower_components/file-saver.js/FileSaver.js"></script>
    <script src="bower_components/json-schema-ref-parser/dist/ref-parser.js"></script>
    <!-- endbuild -->

    <!-- build:js({.,.tmp,app}) scripts/api-designer.js -->
    <script src=".tmp/raml-suggestions/raml-suggestions.js"></script>
    <script src=".tmp/oas-raml-converter/oas-raml-converter.js"></script>

    <script src="vendor/scripts/codemirror.js"></script>
    <script src="vendor/scripts/foldcode.js"></script>
    <script src="vendor/scripts/foldgutter.js"></script>
    <script src="vendor/scripts/gfm.js"></script>
    <script src="vendor/scripts/javascript.js"></script>
    <script src="vendor/scripts/markdown.js"></script>
    <script src="vendor/scripts/overlay.js"></script>
    <script src="vendor/scripts/show-hint.js"></script>
    <script src="vendor/scripts/xml.js"></script>

    <script src="scripts/app.js"></script>
    <script src="scripts/polyfills/array-polyfills.js"></script>
    <script src="scripts/polyfills/string-polyfills.js"></script>
    <script src="scripts/services/utils.js"></script>
    <script src="scripts/services/config.js"></script>
    <script src="scripts/services/lightweight-dom.js"></script>
    <script src="scripts/services/lightweight-parse.js"></script>
    <script src="scripts/services/code-folding.js"></script>
    <script src="scripts/services/code-mirror.js"></script>
    <script src="scripts/services/code-mirror-errors.js"></script>
    <script src="scripts/services/raml-snippets.js"></script>
    <script src="scripts/services/raml-highlight.js"></script>
    <script src="scripts/services/raml-highlight-config.js"></script>
    <script src="scripts/services/raml-repository.js"></script>
    <script src="scripts/services/raml-suggest.js"></script>
    <script src="scripts/services/file-system.js"></script>
    <script src="scripts/services/new-file-service.js"></script>
    <script src="scripts/services/new-folder-service.js"></script>
    <script src="scripts/services/local-storage-file-system.js"></script>
    <script src="scripts/services/mocking-service-utils.js"></script>
    <script src="scripts/services/mocking-service-client.js"></script>
    <script src="scripts/services/mocking-service.js"></script>
    <script src="scripts/services/submenu-service.js"></script>
    <script src="scripts/services/import-modal.js"></script>
    <script src="scripts/services/confirm-modal.js"></script>
    <script src="scripts/services/new-name-modal.js"></script>
    <script src="scripts/services/swagger-to-raml.js"></script>
    <script src="scripts/services/raml-to-swagger.js"></script>
    <script src="scripts/services/import-service.js"></script>
    <script src="scripts/services/import-service-conflict-modal.js"></script>
    <script src="scripts/services/oas-raml-converter.js"></script>
    <script src="scripts/services/js-traverse.js"></script>
    <script src="scripts/services/ref-parser.js"></script>
    <script src="scripts/services/worker.js"></script>
    <script src="scripts/filters/string-filters.js"></script>
    <script src="scripts/controllers/raml-editor-main.js"></script>
    <script src="scripts/controllers/raml-editor-main-helpers.js"></script>
    <script src="scripts/controllers/raml-editor-shelf.js"></script>
    <script src="scripts/controllers/notifications.js"></script>
    <script src="scripts/controllers/mocking-service-controller.js"></script>
    <script src="scripts/directives/splitter.js"></script>
    <script src="scripts/directives/validate.js"></script>
    <script src="scripts/directives/auto-focus.js"></script>
    <script src="scripts/directives/right-click.js"></script>
    <script src="scripts/directives/raml-editor.js"></script>
    <script src="scripts/directives/drag-and-drop.js"></script>
    <script src="scripts/directives/raml-editor-context-menu.js"></script>
    <script src="scripts/directives/raml-editor-file-browser.js"></script>
    <script src="scripts/directives/raml-editor-project-button.js"></script>
    <script src="scripts/directives/raml-editor-save-file-button.js"></script>
    <script src="scripts/directives/raml-editor-save-all-button.js"></script>
    <script src="scripts/directives/raml-editor-new-folder-button.js"></script>
    <script src="scripts/directives/raml-editor-new-file-menu.js"></script>
    <script src="scripts/directives/raml-editor-export-menu.js"></script>
    <script src="scripts/directives/raml-editor-import-button.js"></script>
    <script src="scripts/directives/raml-editor-view-button.js"></script>
    <script src="scripts/directives/raml-editor-help-button.js"></script>
    <script src="scripts/directives/ui-tree-node.js"></script>
    <!-- endbuild -->
  </body>
</html>
